Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Graphics /
Chapter 6 - Picture Shapes / About Picture Shapes


Picture Hierarchies

Each item of a picture shape contains a reference to another shape. These shapes can be of any type, including other picture shapes. When a picture shape contains references to other picture shapes, you have a picture hierarchy. Figure 6-13 shows a picture hiearchy.

Figure 6-13 depicts a picture shape with two items. Each item references another picture shape, each of which also has two items. This figure shows the condensed view of the picture hierarchy.

Figure 6-13 A condensed view of a picture hierarchy

Each item in a picture hierarchy has a level. The two items belonging to the topmost picture shape--which are picture shapes themselves--have a level of 1. Items belonging to pictures that have a level of 1 have a level of 2, and so on. In the picture hierarchy shown in Figure 6-13, the four geometric shapes all have a level of 2.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help